<div class="content contact contactus" id="page-body">
    <h1>Contact Us</h1>
    <?php if(!empty($usermessage)){ ?>
    <div id="msgContainer">
        <div id="msgdesc-<?php echo $usermessage[0] ?>"><?php if (isset($usermessage)) echo $usermessage[1]; ?></div>
    </div>
    <?php } ?>
    <form class="cform appraisal-sale" method="post" id="appraisal-sale-rent">
        <table style="width:100%">
            <tr>
                <td style="width:40%">
                    <div><label for="name"><span>Your Name * </span></label></div>
                    <div><input type="text" id="name" class="single fldrequired" placeholder="Enter Name" value="<?php echo!empty($post['name']) ? $post['name'] : '' ?>" name="name"
                                onfocus="clearField(this)" onblur="setField(this)" /></div>
                    <div><label for="email"><span>Email Address * </span></label></div>
                    <div><input type="text" id="emailAddress" class="single fldemail fldrequired" placeholder="Enter Email Address" value="<?php echo!empty($post['email']) ? $post['email'] : '' ?>" name="email"
                                onfocus="clearField(this)" onblur="setField(this)" /></div>
                    <div><label for="mobile"><span>Mobile </span></label></div>
                    <div><input type="text" id="mobile" class="single" placeholder="Enter Mobile Number" value="<?php echo!empty($post['mobile']) ? $post['mobile'] : '' ?>" name="mobile"
                                onfocus="clearField(this)" onblur="setField(this)" /></div>
                </td>
                <td>
                    <div><label for="message"><span>Message * </span></label></div>
                    <div><textarea name="message" id="message" class="area" cols="30" rows="8" ><?php echo!empty($post['message']) ? $post['message'] : '' ?></textarea></div>
                </td>
            </tr>
            <tr>
                <td>
                    <?php echo recaptcha_get_html($public_key, $error); ?>
                </td>
                <td>
                    <input type="submit" name="sendbutton3" id="sendbutton3" class="sendbutton"
                           value="Submit" />
                </td>
            </tr>
        </table>
    </form>
    <div class="clearer"></div>
</div>
